package com.example;

import java.lang.reflect.InvocationTargetException;

/**
 * @ClassName Intercept
 * @Description 拦截器接口
 * @Author Yin
 * @Date 2021/4/11 23:09
 * @Version 1.0
 */
public interface Intercept {
    public boolean before();
    public void after();
    public Object around(Invocation invocation) throws InvocationTargetException,IllegalAccessException;
    public void afterReturning();
    public void afterThrowing();
    boolean useAround();
}
